﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

/*
    LayerBuilder - C# code generator for MS SQLCE / MS SQLServer / OLEDB Layers.
    Copyright (C) 2009 1.xx matricrix
    Copyright (C) 2011 2.xx matricrix
 
    http://layerbuilder.codeplex.com/
    matricrix@gmail.com
   
    License:  GNU General Public License version 2 (GPLv2)
*/

namespace LayerBuilder
{
    public partial class CopyrightBox : Form
    {
        /// <summary>
        /// 
        /// </summary>
        public CopyrightBox()
        {
            InitializeComponent();
            this.Text = String.Format("Copyrights {0}", Application.ProductName);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void llSite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process process = new System.Diagnostics.Process();
            process.EnableRaisingEvents = false;
            process.StartInfo.FileName = "http://layerbuilder.codeplex.com/";
            process.StartInfo.UseShellExecute = true;
            process.Start();
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void llEmail_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process process = new System.Diagnostics.Process();
            process.EnableRaisingEvents = false;
            process.StartInfo.FileName = "mailto:matricrix@gmail.com";
            process.StartInfo.UseShellExecute = true;
            process.Start();
        }
    }
}
